package com.dykj.fireFighting.web.model.report;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Map;


/**
 * @Description 盛善运行记录
 * @Author JacksonTu
 * @Date  2021-11-30 10:08:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "盛善运行记录")
@TableName("dev_his_ss")
public class DevHisSs {
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一标识
	 */
    @ApiModelProperty(value = "唯一标识")
	@TableId
	private String id;
	/**
	 * 控制吗
	 */
	@ApiModelProperty(value = "控制码")
	@TableField("kzm")
	private String kzm;

	@ApiModelProperty(value = "控制码")
	@TableField(exist = false)
	private String devCode;
	/**
	 * 数据上传时间
	 */
    @ApiModelProperty(value = "数据上传时间")
	@TableField("up_time")
	private Date upTime;
	/**
	 * 设备类型
	 */
    @ApiModelProperty(value = "设备类型")
	private String sblx;
	/**
	 * 状态发生时间
	 */
    @ApiModelProperty(value = "状态发生时间")
	private Date ztfssj;
	/**
	 * 部件状态说明（中文）只做显示
	 */
    @ApiModelProperty(value = "部件状态说明（中文）只做显示")
	@TableField("bjzt_sm")
	private String bjztSm;
	/**
	 * 部件状态
	 */
    @ApiModelProperty(value = "部件状态")
	private String bjzt;
	@TableField("DI1")
	private String di1;
	/**
	 * 漏电通道
	 */
    @ApiModelProperty(value = "漏电通道")
	@TableField("Ir_ch")
	private String irCh;
	/**
	 * 温度通道
	 */
    @ApiModelProperty(value = "温度通道")
	@TableField("T_ch")
	private String tCh;
	/**
	 * 报警位
	 */
    @ApiModelProperty(value = "报警位")
	private String bjw;
	/**
	 * 故障位
	 */
    @ApiModelProperty(value = "故障位")
	private String gzw;

	/**
	 * 故障位解析
	 */
	@ApiModelProperty(value = "故障位解析")
	private String gzwJx;
	/**
	 * 使能位
	 */
    @ApiModelProperty(value = "使能位")
	private String snw;
	/**
	 * 使能位解析
	 */
	@ApiModelProperty(value = "使能位解析")
	private String snwJx;
	/**
	 * 电量告警位
	 */
    @ApiModelProperty(value = "电量告警位")
	private String dlgjw;
	/**
	 * 电力报警状解析
	 */
	@ApiModelProperty(value = "电力报警状解析")
	private String dlgjwJx;
	/**
	 * 剩余电流
	 */
    @ApiModelProperty(value = "剩余电流")
	private String sydl;
	/**
	 * 第一路温度值
	 */
    @ApiModelProperty(value = "第一路温度值")
	private Integer d1lwd;
	/**
	 * 第二路温度值
	 */
    @ApiModelProperty(value = "第二路温度值")
	private Integer d2lwd;
	/**
	 * 第三路温度值
	 */
    @ApiModelProperty(value = "第三路温度值")
	private Integer d3lwd;
	/**
	 * 第四路温度值
	 */
    @ApiModelProperty(value = "第四路温度值")
	private Integer d4lwd;
	/**
	 * 电压变比 可能是PT
	 */
    @ApiModelProperty(value = "电压变比 可能是PT")
	private String dybb;
	/**
	 * 电流变比 可能CT
	 */
    @ApiModelProperty(value = "电流变比 可能CT")
	private String dlbb;
	/**
	 * UA
	 */
    @ApiModelProperty(value = "UA")
	@TableField("UA")
	private String ua;
	/**
	 * UB
	 */
    @ApiModelProperty(value = "UB")
	@TableField("UB")
	private String ub;
	/**
	 * UC
	 */
    @ApiModelProperty(value = "UC")
	@TableField("UC")
	private String uc;
	/**
	 * IA
	 */
    @ApiModelProperty(value = "IA")
	@TableField("IA")
	private String ia;
	/**
	 * IB
	 */
    @ApiModelProperty(value = "IB")
	@TableField("IB")
	private String ib;
	/**
	 * IC
	 */
    @ApiModelProperty(value = "IC")
	@TableField("IC")
	private String ic;
	/**
	 * P
	 */
    @ApiModelProperty(value = "P")
	@TableField("P")
	private String p;
	/**
	 * PF
	 */
    @ApiModelProperty(value = "PF")
	@TableField("PF")
	private String pf;
	/**
	 * EP
	 */
    @ApiModelProperty(value = "EP")
	@TableField("EP")
	private String ep;
	/**
	 * 报警复核（0未复核    1已复核）
	 */
    @ApiModelProperty(value = "报警复核（0未复核    1已复核）")
	private String status;
	/**
	 * 用于关联设备用
	 */
    @ApiModelProperty(value = "用于关联设备用")
	@TableField("relation_id")
	private String relationId;
	@TableField("fuhe_content")
	private String fuheContent;
	@TableField("fuhe_time")
	private Date fuheTime;
	@TableField("fuhe_person")
	private String fuhePerson;
	/**
	 * 复核人id
	 */
    @ApiModelProperty(value = "复核人id")
	@TableField("fuhe_person_id")
	private Integer fuhePersonId;
	/**
	 * 是否有效复核(0否 1是)
	 */
    @ApiModelProperty(value = "是否有效复核(0否 1是)")
	@TableField("is_effective")
	private Integer isEffective;
	@TableField("import_part")
	private String importPart;


	@TableField(exist = false)
	private Map componentStateMap;

	@TableField(exist = false)
	private String unitId;
	@TableField(exist = false)
	private String deviceName;
	@TableField(exist = false)
	private String centerUnitId;
	@TableField(exist = false)
	private String unitName;

}
